<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的业绩</title>
<link href="/zhenze/Public/admin/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/zhenze/Public/admin/js/jquery.js"></script>
<script type="text/javascript" src="/zhenze/Public/My97DatePicker/WdatePicker.js"></script>
</head>

<body>

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="<?php echo U('index/welcome');?>">首页</a></li>
			<li><a href="<?php echo U('agent/agentwork');?>">我的业绩</a></li>
		</ul>
    </div>
    
    <div class="formbody">
		<form name="seachform" id="seachform" action="<?php echo U('agent/agentwork');?>" method="post">
			<ul class="seachform">
				<li><label>综合查询</label><input name="info[keyword]" id="keyword" value="<?php echo ($keyword); ?>" type="text" class="scinput" /></li>	
				<li><label>开卡时间范围</label>
				<input name="info[starttime]" id="starttime" class="dfinput" type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{ $dp.$D(\'endtime\')||\'2100-10-01\' }'})" datatype="*" errormsg="时间范围开始值不能为空！" maxlength="20" style="width: 130px;" readonly value="<?php echo ($starttime); ?>" />-
				<input name="info[endtime]" id="endtime" class="dfinput" type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{ $dp.$D(\'starttime\') }',maxDate:'2100-10-01'})" datatype="*" errormsg="时间范围结束值范围不能为空！" maxlength="20" style="width: 130px;" readonly value="<?php echo ($endtime); ?>" />
				<i class="Validform_checktip"></i></li>	
				<li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
			</ul>
		</form>
		
		<table class="tablelist">
			<thead>
				<tr>
					<th><input name="" type="checkbox" value="" /></th>
					<th>代理人</th>
					<th>佣金</th>
					<th>开卡数</th>
				</tr>
			</thead>
			<tbody>
				<?php if(is_array($model)): $i = 0; $__LIST__ = $model;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i;?><tr>
					<td><input name="" type="checkbox" value="" /></td>
					<td><?php echo ($value["username"]); ?></td>
					<td><?php echo ($value["money"]); ?></td>
					<td><?php echo ($value["geshu"]); ?></td>
				</tr><?php endforeach; endif; else: echo "" ;endif; ?>
			</tbody>
		</table>
		<?php echo ($pageshow); ?>
    </div>
<script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
</script>
</body>

</html>